package top.lt.lt_ssm.service;

import java.util.List;

import top.lt.lt_ssm.bean.adv;

public interface AdvService {
	public List<adv> getall();
	
	public int delByid(int id);
	
	public adv GetByid(int advid);
	
	public int updByid(adv ad);
	
	public List<adv> getByAid(int aid);
	
	public List<adv> getByName(String name);
	
	public int insert (adv advs);
}
